/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: Test.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/30 下午12:29
 * LastModified: 2020/03/30 12:29:30
 */

package com.qolome.knowledge.design.pattern.visitor.demo.dispatch.dynamic;

import java.util.concurrent.ConcurrentHashMap;
import java.util.function.Function;

/**
 * @author Qolome
 * @version V1.0
 * @Description 测试类
 * @date 2020年 03月30日 12:29:40
 */
public class Test {


    public  synchronized void haha(){

        Function function ;
    }
    public static void main(String[] args) {

        Human woMan = new WoMan();
        woMan.test();
        Human man = new Man();
        man.test();

    }
}
